﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace StudentClass
{
    class StudentTest
    {
        static void Main()
        {
            Student boiko = new Student("Boiko Borisov", "5906130682", "Bankya", "0899999999", "boiko@borisov.com",
                3, Specialty.NumberOne, University.Sofia, Faculty.Medical);
            Student ceco = new Student("Cvetan Cvetanov", "5802040682", "Sofia", "088234123", "cvetan@cvetanov.com",
                2, Specialty.GreatSpecialist, University.Burgas, Faculty.IT);
            Student ceco2 = new Student("Cvetan Cvetanov", "5802040682", "Sofia", "088234123", "cvetan@cvetanov.com",
                2, Specialty.GreatSpecialist, University.Burgas, Faculty.IT);
            Student volen = new Student("Volen Siderov", "5605121221", "Varna", "087123095", "volen@siderov.com",
                1, Specialty.Specialist, University.Burgas, Faculty.Psycho);
            Console.WriteLine(ceco.Equals(ceco2)); //True
            Console.WriteLine(ceco == ceco2); //True
            Console.WriteLine(boiko != volen); //True
            Console.WriteLine(boiko.Equals(volen)); //False

            Student boiko2 = boiko.Clone();
            Console.WriteLine(boiko);
            Console.WriteLine(boiko2);

            Console.WriteLine(boiko.CompareTo(boiko2));
        }
    }
}
